﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;

namespace MobileManager.Customer
{
    public partial class MMcustomer : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MM.Model.T_Users userModel;
            if (Session["CurUser"] == null)
            {
                Response.Redirect("Login.aspx");
                return;
            }
            else
            {
                userModel = (MM.Model.T_Users)Session["CurUser"];
                lbUserInfo.Text = string.Format("{0}，欢迎您！", userModel.UserName);
            }
            if (!IsPostBack)
            {
                StringBuilder sbHTML = new StringBuilder(300);
                sbHTML.Append("<ul>");
                //sbHTML.Append(string.Format("<li class=\"item\" id=\"Csim\"><a href=\"{0}\">SIM记录信息</a></li>", "Csim.aspx"));
                sbHTML.Append(string.Format("<li class=\"item\" id=\"CcostQuery\"><a href=\"{0}\">扣费信息查询</a></li>", "CcostQuery.aspx"));
                sbHTML.Append("</ul>");
                llMenu.Text = sbHTML.ToString();
            }
        }
    }
}
